package com.tianyu.model.entity;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**********************************
 * @Author YSW
 * @Description
 * @Date 2024/6/12 - 14:45
 **********************************/

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName(autoResultMap = true)
public class Device {


    @TableId
    private Integer id;

    private String sn;

    private String name;

    private Integer type;

    private Integer ykCompanyId;

    private Date createTime;

    private Date modifyTime;
}
